﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace iTeachSoft.CoreObjects
{
    public class RectangleWithText : Annotation
    {
        public string Text { get; set; }
        public string FontFamilyName { get; set; }
        public int FontSize { get; set; }
        public FontStyle FontStyle { get; set; }
        public int FontWeight { get; set; }
        public Color FontColor { get; set; }

        public RectangleWithText()
            : base()
        {
            Text = this.Name;
            FontFamilyName = "Calibri";
            FontSize = 16;
            
            FontColor = Color.Yellow;
            FontStyle = FontStyle.Regular;
            BackColor = Color.FromArgb(200, Color.Red.R, Color.Red.G, Color.Red.B);
                        
            FontWeight = 1;
        }
    }
}
